import request from '@/utils/request'
export default {
  createOrder(courseId) {
    return request({
      url: `/eduorder/order/createOrder/${courseId}`,
      method: 'post'
    })
  },
  getOrderInfo(orderId) {
    return request({
      url: `/eduorder/order/getOrderInfo/${orderId}`,
      method: 'get'
    })
  },
  createNative(orderId) {
    return request({
      url: `/eduorder/paylog/createNative/${orderId}`,
      method: 'get'
    })
  },
  queryPayStatus(orderId) {
    return request({
      url: `/eduorder/paylog/queryPayStatus/${orderId}`,
      method: 'get'
    })
  },

}